#ifndef WHITEBOARD_H
#define WHITEBOARD_H

#include <QWidget>
#include "paintlistwidget.h"

namespace Ui {
class WhiteBoard;
}

class WhiteBoard : public QWidget
{
    Q_OBJECT
    QString colorStr;

public:
    explicit WhiteBoard(QWidget *parent = nullptr);
    ~WhiteBoard();

    void w_changeBgColor(QString s);
    void w_stopDraw();

public slots:

protected:
    void paintEvent(QPaintEvent *);

private:
    Ui::WhiteBoard *ui;
};

#endif // WHITEBOARD_H
